home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 21
/
Cream of the Crop 21 (Terry Blount) (October 1996).iso
/
editor
/
wf314.zip
/
WF311DOC.ZIP
/
DOCS
/
WF.018
< prev
next >
Wrap
Text File
|
1992-01-31
|
14KB
|
356 lines
.f3 - # - Chapter 18 - Columns & Tables
.rm70
.tc
.tc 18. COLUMNS, TABLES & SNAKING COLUMNS .................#
CHAPTER 18 COLUMNS, TABLES & SNAKING COLUMNS
.imColumns
.imTables
.imNewspaper Columns
There are three methods of printing text in columnar format. These
are:-
■ Multiple columns
■ Tables
■ Snaking columns or Newspaper columns
You would use the different methods depending upon the effects you
wish to achieve on the printed page.
Multiple Columns and Tables will display several columns of text on
the screen, while Snaking Columns only displays one column on the
screen.
.Tc Multiple Columns ...................................#
Multiple Columns
.ixColumns; Multiple Columns
These display on screen, and are used when each column is independent
of the other. Text that runs off the bottom of the page will start
again on the next page in the same column. Each column will wrap text
independently of the other columns.
.Tc Activating ......................................#
Activating
For Multiple columns to be active, you MUST have column mode turned
ON. You do this by pressing Ctrl K N or from the Format Options sub
menu of the Options menu (F10 O F C)
.Tc Defining ........................................#
Defining
Multiple Columns are indicated in the ruler line by < for the left
margin and > for the right margin or ] for the right justified margin.
When Word Wrap is active, text will wrap to stay within the margins
(both left and right). A column is independent of any other columns,
so text in a column will wrap downwards into blank lines in the
column. If no blank lines are available, a blank line will be inserted
at the end of the column to absorb the overflow. Each column may also
have its own wrap margin, where text will wrap to.
For example, the ruler line below defines three columns of different
widths. The ^ sign indicates the wrap margin for column 3 is different
from the left margin for that column.
.RR < > < > < ^ >
this text is this is this is the third
in column column 2 column, and text
one, and is will wrap
not related the text according to the
to any other will wrap W margin
column if it does
not fit
.RRL ! ! ! ! ! ! R
You will note that each column has entries that end independently of
each other. Wrapping slides the text in one column up and down without
regard to the contents of other columns.
Multiple Columns are only active if Word Wrap is active, as well as
Column Mode or Column replace mode. You need to turn off the columns
when you have finished with them by placing your standard ruler line
after them, and also manually turning off column mode.
.Tc Tables .............................................#
Tables
.ixTables;Tables
Tables display on screen, and are used when each column is dependent
upon the others. That is, data in one column must line up with that in
the others.
.Tc Activating ......................................#
Activating
For Tables to be active, you MUST have column mode turned ON. You do
this by pressing Ctrl K N or from the Format Options sub menu of the
Options menu (F10 O F C)
.Tc Defining ........................................#
Defining
Tables are delimited in the ruler line by { for the left margin and
either } or > for the right margin, or ] for the right justified
margin. The columns of a table are terminated by a blank line. When a
column of a table is wrapped, blank lines are inserted at the end of
the table entry. This means that a blank line is looked for, or a dot
command line, and blank lines are inserted before this line. This
means that adjacent columns never have blank lines inserted in the
middle.
For example, the ruler line below defines a table consisting of three
columns of different widths. The ^ sign indicates the wrap margin for
column 3 is different from the left margin for that column.
.RR { } { } { ^ }
This is text this is this text is column
for the text for 3 entry 1
first column entry 1
of the table column 2,
and inserts
lines
before the
next entry
───── this is the end of the entry
This text this text
belongs to is for the
the second second entry
entry for
the first
column of
the table
.RRL ! ! ! ! ! ! R
You will note that a table has entries in adjacent columns, and the
end of the entry has a blank line across the entire table. Wrapping
slides the contents of one column up and down as required, but never
pushes the text down below the blank line, instead inserting new lines
before it as required to absorb the overflow of the column. Text that
overflows the bottom of a page continues on the next page in the same
column.
.Tc Snaking Columns of Text ............................#
Snaking Columns of Text
.ixNewspaper Columns;
.ixSnaking Columns;
These are also known as newspaper columns, because when the text in
one column overflows the bottom of the page, it wraps around to the
top of the next column in the same page. Only when all columns on a
page are full does the overflow then wrap to the first column of the
next page.
You do not turn on column mode for this to be effective, but instead
mark newspaper columns by the use of dot commands:
.ixDot Commands; .CO - Start newspaper columns
.ixDot Commands; .CC - Conditional column break
.ixDot Commands; .CB - Column break
.ixDot Commands; .CW - Character width
.ixSnaking Columns; .CO - Start newspaper columns
.ixSnaking Columns; .CC - Conditional column break
.ixSnaking Columns; .CB - Column break
.ixSnaking Columns; .CW - Character width
.ixNewspaper Columns; .CO - Start newspaper columns
.ixNewspaper Columns; .CC - Conditional column break
.ixNewspaper Columns; .CB - Column break
.ixNewspaper Columns; .CW - Character width
.ixNewspaper Columns;
.ixSnaking Columns;
.ixCharacter Width;Character Width (.CW)
.CO n,g / w,w,w ... - start of snaking columns
where
n = number of columns
g = width of the column gutter
w = width for each column. This is optional.
default column width is 35 characters
.CB column break (like .PA) start a new column
.CC n
conditional column break (like .CP) if less than n lines
remain in this column
.CW r.r - character width
or .CW n
where
r.r is a real number (must have a decimal point) and is the
character width ratio to normal (eg 2.0 means twice
normal width)
n is an integer (no decimal point) and means character
width in 1/120 of an inch (the Word star default)
.tc Start Snaking Columns ...........................#
Start Snaking Columns
For this you use the .CO command to set the number of columns, the
"gutter" width between them, and optionally the width of each
column.
.CO 2 5
where
number of columns = 2
number of characters between columns = 5
default column width is 35 characters for each column.
For example, the index to this manual is printed in 2 column format
as specified above.
If you want to have different co